﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace WpfTestApplication
{
    /// <summary>
    /// Interaction logic for UIElementTestWindow.xaml
    /// </summary>
    public partial class UIElementTestWindow : Window
    {
        public UIElementTestWindow()
        {
            InitializeComponent();
        }

        private void label1_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            this.label1.Content = "Mouse clicked left";
        }

        private void label1_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
        {
            this.label1.Content = "Mouse clicked right";
        }

        private void label2_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            this.label2.Content = "Mouse double clicked";
        }
    }
}
